/*-------------------------------------------------------------------------------
* file:		csp_common.h
* brief:    csp
* copyright Copyright (C) 2015-2020 @ NanoIC
* Date:     2020-04-26
* Version:  V1.00
* Author:   
*-------------------------------------------------------------------------------*/
 
#ifndef _CSP_COMMON_H_
#define _CSP_COMMON_H_

#include <stdint.h>

typedef enum {
    CSP_SUCCESS     =  0,
    CSP_FAIL        = -1,
    CSP_UNSUPPORTED = -4
} csp_error_t;

#define TRUE  		1
#define FALSE 		0
#define ENABLE  	1
#define DISABLE 	0 

#define nop			asm ("nop")

#endif //_CSP_COMMON_H_